#ifndef STX_NONCOPYABLE_HPP
#define STX_NONCOPYABLE_HPP

namespace stx {

//  "Inspired" by boost library.

namespace noncopyable_ {

class noncopyable
{
protected:
    
    noncopyable()
    {
    }
    
    ~noncopyable()
    {
    }

private:
    
    noncopyable(const noncopyable&);
    
    const noncopyable& operator=(const noncopyable&);
};

} // namespace noncopyable_

typedef noncopyable_::noncopyable noncopyable;

} // namespace stx

#endif // STX_NONCOPYABLE_HPP
